Page({
  data:{
    active: 1,
    nums:8,
    nvas:[
      { name: "全部", id: "1" },
      { name: "成人", id: "2" },
      { name: "老人", id: "3" },
      {name:"少儿",id:"4"}
    ],
    Categorys:[
      { title: "住院医疗保险", txt:"扩充保障更全面，患病住院不用愁",img:"../img/sign.png" },
    ],
    products:[
      { img: '../img/products1.png', title: "百万医疗险", txt: "保额600万，花多少报多少", price: "33", slogan:"优质就医服务，放心看病"},
      { img: '../img/products1.png', title: "百万医疗险", txt: "保额600万，花多少报多少", price: "33", slogan: "优质就医服务，放心看病" },
      { img: '../img/products1.png', title: "百万医疗险", txt: "保额600万，花多少报多少", price: "33", slogan: "优质就医服务，放心看病" }
    ],

  },
   headler(e) {
    this.setData({
      active: e.currentTarget.dataset.id
    })
   },
   tiao(e){
     console.log(e)
     wx.navigateTo({
       url: '../shopping/shopping',
     })
   }
})